package com.longxiao.validator.handler.cond;

/**
 * Created by houhongwei on 2017/5/16.
 */
public class NumberCondition extends CommCondition {

    Double min;

    Double max;

    double[] ref;

    public NumberCondition(boolean required, String name, String err) {
        super(required, name, err);
    }

    public NumberCondition(boolean required, String name, String err, Double min, Double max, double[] ref) {
        super(required, name, err);
        this.min = min;
        this.max = max;
        this.ref = ref;
    }


    public Double getMin() {
        return min;
    }

    public void setMin(Double min) {
        this.min = min;
    }

    public Double getMax() {
        return max;
    }

    public void setMax(Double max) {
        this.max = max;
    }

    public double[] getRef() {
        return ref;
    }

    public void setRef(double[] ref) {
        this.ref = ref;
    }
}
